<template>
  <div id="app">
    <router-view class="animated fadeIn"/>
  </div>
</template>

<script>
export default {
}
</script>

<style scoped lang="less">
  .top {
    position: fixed;
    left: 0;
    top: 0;
    right: 0;
    background: rgba(0,0,0,0.8);
    color: #fff;
  }
  .title {
    margin-left: 30px;
    padding: 10px;
    font-size: 18px;
    display: inline-block;
  }
  // 顶部
  .top-nav {
    list-style: none;
    margin: 0;
    padding: 0;
    display: inline-block;
    text-align: center;
    margin-left: 20px;
    li {
      display: inline-block;
      width: 80px;
      cursor: pointer;
      padding: 8px;
      border-radius: 6px;
      transition: all .2s;
      margin-right: 2px;
      &:hover {
        background: #4E4E4E;
      }
    }
    .hover {
      background: #757575;
    }
  }
  // 侧栏
  .menu {
    position: fixed;
    left: 5px;
    top: 60px;
    bottom: 0;
    text-align: right;
    border-right: solid 1px #eee;
    ul {
      list-style: none;
      margin: 0;
      padding: 0;
      li {
        padding: 10px 20px;
        width: 120px;
        border-bottom: solid 1px #eee;
        cursor: pointer;
        transition: all .2s;
        &:hover {
          background: #E8E5E0;
        }
      }
      .hover {
        background: #E8E5E0;
      }
    }
  }
  .iframe {
    margin-left: 140px;
    margin-top: 70px;
  }
</style>
